<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="css/bootstrap.min.css"/>
        <link rel="stylesheet" href="css/style.css"/>
        <link rel="stylesheet" href="css/style_mxz.css"/>
        <script src="js/jquery-3.4.1.min.js"></script>
        <script src="js/bootstrap.min.js"></script>
        <script src="js/script.js" charset="UTF-8"></script>
        <title>我的评论</title>
    </head>
    <body>

        <div class="container">
            <h3 class="text-center text-danger">我的电影评论</h3>
            <br>
            <div class="row container">
                <c:forEach items="${mymoviecommentList}" var="mm">
                    <div class="" id="id${mm[5]}" style="margin: 75px">
                        <div class="container">
                            <div class="leftDiv">
                                <a target="_blank" href="gmis?movieId=${mm[0]}">
                                    <img target="_blank" class="img-thummnail container" src="images/${mm[1]}" alt="${mm[2]}" style="width: 430px;height: 510px">
                                </a>
                                <br>
                            </div>

                            <br>
                            <div class="rightDiv container">
                                <span style="font-size: 25px;color: #1784cd">电影名称： </span>
                                <a target="_blank" href="gmis?movieId=${mm[0]}" class="text-info padding5">
                                    <span style="font-size: 25px;color: #1784cd">${mm[2]}</span>
                                </a>
                                <br><span style="font-size: 25px;color: #1784cd">评分： ${mm[3]}</span>
                                <br><br>
                                <h4 class="padding5 text-info"><span style="font-size: 23px;color: #31708f">您的评论</span></h4>
                                <p>
                                    <span style="font-size: 15px;color: #31708f">${mm[4]}</span>
                                    <br><br>
                                    <a href="javascript:deleteComment('${mm[5]}');"><span style="color: #ffa902">移除 “我的评论” 列表</span></a>
                                </p>
                            </div>
                        </div>  
                    </div>

                </c:forEach>
            </div>

        </div>

        <hr class="clear">
    </body>
</html>
